<wiidisc version="1">
	<!-- 	Take out File Patch Codes from GCT. 
	Credits to Glitch (http://glitchery.me) and BeyondYou
	
	Updated 12/11/2013: Added all possible files that use the "_en" name.
	-->
	<id game="RSB" />
	<options>
		<section name="Brawl Mods">
			<option name="Modifications" default="1">
				<choice name="Enabled"><patch id="mods" /><patch id="ocarina" /></choice>
			</option>
		</section>
	</options>

	<patch id="mods">
		<memory valuefile="/codes/riivolution.gct" offset="0x00570000" />
		<folder external="/minusery/pf/fighter" disc="/fighter/" create="true"/>
		<file external="/minusery/pf/fighter/captain/FitCaptain01.pcs" disc="/fighter/captain/FitCaptain01_en.pcs" />
		<file external="/minusery/pf/fighter/captain/FitCaptain01.pac" disc="/fighter/captain/FitCaptain01_en.pac" />
		<file external="/minusery/pf/fighter/poketrainer/FitPokeTrainerFinal00.pac" disc="/fighter/poketrainer/FitPokeTrainerFinal00_en.pcs" />
		<file external="/minusery/pf/fighter/poketrainer/FitPokeTrainerFinal01.pac" disc="/fighter/poketrainer/FitPokeTrainerFinal01_en.pcs" />
		<file external="/minusery/pf/fighter/poketrainer/FitPokeTrainerFinal02.pac" disc="/fighter/poketrainer/FitPokeTrainerFinal02_en.pcs" />
		<file external="/minusery/pf/fighter/poketrainer/FitPokeTrainerFinal03.pac" disc="/fighter/poketrainer/FitPokeTrainerFinal03_en.pcs" />
		<file external="/minusery/pf/fighter/poketrainer/FitPokeTrainerFinal04.pac" disc="/fighter/poketrainer/FitPokeTrainerFinal04_en.pcs" />
		<file external="/minusery/pf/fighter/poketrainer/FitPokeTrainerFinalSpy.pac" disc="/fighter/poketrainer/FitPokeTrainerFinalSpy_en.pcs" />
		<folder external="/minusery/pf/stage/melee" disc="/stage/melee/" create="true"/>
		<folder external="/minusery/pf/stage/adventure" disc="/stage/adventure/" create="true"/>
		<file external="/minusery/pf/stage/melee/STGMADEIN.pac" disc="/stage/melee/STGMADEIN_en.pac"/>
		<file external="/minusery/pf/stage/melee/STGNEWPORK.pac" disc="/stage/melee/STGNEWPORK_en.pac"/>
		<file external="/minusery/pf/stage/melee/STGPICTCHAT.pac" disc="/stage/melee/STGPICTCHAT_en.pac"/>
		<file external="/minusery/pf/stage/melee/STGRESULT.pac" disc="/stage/melee/STGRESULT_en.pac"/>
		<file external="/minusery/pf/stage/melee/STGDXPSTADIUM.pac" disc="/stage/melee/STGDXPSTADIUM_en.pac"/>
		<file external="/minusery/pf/stage/melee/STGSTADIUM.pac" disc="/stage/melee/STGSTADIUM_en.pac"/>
		<file external="/minusery/pf/stage/melee/STGVILLAGE_00.pac" disc="/stage/melee/STGVILLAGE_00_en.pac"/>
		<file external="/minusery/pf/stage/melee/STGVILLAGE_01.pac" disc="/stage/melee/STGVILLAGE_01_en.pac"/>
		<file external="/minusery/pf/stage/melee/STGVILLAGE_02.pac" disc="/stage/melee/STGVILLAGE_02_en.pac"/>
		<file external="/minusery/pf/stage/melee/STGVILLAGE_03.pac" disc="/stage/melee/STGVILLAGE_03_en.pac"/>
		<file external="/minusery/pf/stage/melee/STGVILLAGE_04.pac" disc="/stage/melee/STGVILLAGE_04_en.pac"/>
    	<file external="/minusery/pf/stage/melee/STGGW.pac" disc="/stage/melee/STGGW_en.pac"/>
    	<file external="/minusery/pf/stage/melee/STGHOMERUN.pac" disc="/stage/melee/STGHOMERUN_en.pac"/>
		<folder external="/minusery/pf/info/portrite" disc="/info/portrite/" />
		<file external="/minusery/pf/info/Info_center_melee.brres" disc="/info/Info_center_melee_en.brres" />
		<file external="/minusery/pf/info/Info_center_minigame.brres" disc="/info/Info_center_minigame_en.brres" />
		<file external="/minusery/pf/info/info_coin_shooter.brres" disc="/info/Info_coin_shooter_en.brres" />
		<file external="/minusery/pf/info/Info.rres" disc="/info/Info_en.brres" />
		<file external="/minusery/pf/info/info_gauge.brres" disc="/info/info_gauge_en.brres" />
		<file external="/minusery/pf/info/info_homerun.brres" disc="/info/info_homerun_en.brres" />
		<file external="/minusery/pf/info/adventure/info_center_adv.brres" disc="/info/adventure/info_center_adv_en.brres" />
		<file external="/minusery/pf/info/adventure/radar.brres" disc="/info/adventure/radar_en.brres" />
		<file external="/minusery/pf/info/cmnwindow/wifi_notice_wnd.brres" disc="/info/cmnwindow/wifi_notice_wnd_en.brres" />
		<file external="/minusery/pf/info/defaultcamera/InfoWide.brres" disc="/info/defaultcamera/InfoWide_en.brres" />
		<file external="/minusery/pf/info/defaultcamera/Info_en.brres" disc="/info/defaultcamera/Info_en.brres" />
		<file external="/minusery/pf/info/info_stgedit.brres" disc="/info/info_stgedit_en.brres" />
		<file external="/minusery/pf/info/info_training.brres" disc="/info/info_training_en.brres" />
		<file external="/minusery/pf/info/info_wifi_practice.brres" disc="/info/info_wifi_practice_en.brres" />
		<file external="/minusery/pf/info/pause.brres" disc="/info/pause_en.brres" />
		<file external="/minusery/pf/info/snap.brres" disc="/info/snap_en.brres" />
		<file external="/minusery/pf/info/snap_save.brres" disc="/info/snap_save_en.brres" />
		<folder external="/minusery/pf/menu" disc="/menu/" create="true"/>
		<folder external="/minusery/pf/module" disc="/module/" create="true"/>
		<folder external="/minusery/pf/net" disc="/net/"/>
		<file external="/minusery/pf/menu/wifi_friend_list.pac" disc="/menu/wifi/wifi_friend_list_en.pac" />
		<file external="/minusery/pf/menu2/mu_menumain.pac" disc="/menu2/mu_menumain_en.pac" />
		<file external="/minusery/pf/menu2/sc_title.pac" disc="/menu2/sc_title_en.pac" />
		<file external="/minusery/pf/menu2/sc_sel_event.pac" disc="/menu2/sc_sel_event_en.pac" />
		<file external="/minusery/pf/menu2/sc_gameover.pac" disc="/menu2/sc_gameover_en.pac" />
		<file external="/minusery/pf/menu2/sc_selcharacter.pac" disc="/menu2/sc_selcharacter_en.pac" />
		<file external="/minusery/pf/menu2/sc_adv_gameover.pac" disc="/menu2/sc_adv_gameover_en.pac" />
		<file external="/minusery/pf/menu2/sc_if_adv_mngr.pac" disc="/menu2/if_adv_mngr_en.pac" />
		<file external="/minusery/pf/menu2/sc_clear_getter.pac" disc="/menu2/sc_clear_getter_en.pac" />
		<file external="/minusery/pf/menu2/sc_adv_result.pac" disc="/menu2/sc_adv_result_en.pac" />
		<file external="/minusery/pf/menu2/sc_adv_seal.pac" disc="/menu2/sc_adv_seal_en.pac" />
		<file external="/minusery/pf/menu2/sc_adv_selmap.pac" disc="/menu2/sc_adv_selmap_en.pac" />
		<file external="/minusery/pf/system/" disc="/system/" />
		<file external="/minusery/pf/system/common.pac" disc="/system/common_en.pac" />
		<file external="/minusery/pf/system/common2.pac" disc="/system/common2_en.pac" />
		<file external="/minusery/pf/system/common3.pac" disc="/system/common3_en.pac" />
		<file external="/minusery/pf/system/common4.pac" disc="/system/common4_en.pac" />
		<file external="/minusery/pf/system/common5.pac" disc="/system/common5_en.pac" />
		<file external="/minusery/pf/system/SAVESAMPLE.pac" disc="/system/SAVESAMPLE_en.pac" />
		<file external="/minusery/pf/info2/info_boss_battle.pac" disc="/info2/info_boss_battle_en.pac"/>
		<file external="/minusery/pf/info2/info_boss_battle_mg.pac" disc="/info2/info_boss_battle__mg_en.pac"/>
		<file external="/minusery/pf/info2/info_corps.pac" disc="/info2/info_corps_en.pac"/>
		<file external="/minusery/pf/info2/info_corps_mg.pac" disc="/info2/info_corps_mg_en.pac"/>
		<file external="/minusery/pf/info2/info_homerun.pac" disc="/info2/info_homerun_en.pac"/>
		<file external="/minusery/pf/info2/info_homerun_mg.pac" disc="/info2/info_homerun_mg_en.pac"/>
		<file external="/minusery/pf/info2/info_mg.pac" disc="/info2/info_mg_en.pac"/>
		<file external="/minusery/pf/info2/info_training.pac" disc="/info2/info_training_en.pac"/>
		<file external="/minusery/pf/info2/info_training_mg.pac" disc="/info2/info_training_mg_en.pac"/>
		<file external="/minusery/pf/info2/info.pac" disc="/info2/info_en.pac" />
		<folder external="/minusery/pf/effect" disc="/effect/"/>
		<folder external="/minusery/pf/item" disc="/item/"/>
		<folder external="/minusery/pf/toy" disc="/toy/"/>
		<folder external="/minusery/pf/game" disc="/game/"/>
		<folder external="/minusery/pf/minigame/coinshooter/cs_pack.pac" disc="/minigame/coinshooter/cs_pack.pac"/>
		<folder external="/minusery/pf/movies" disc="/movie/"/>
		<file external="/minusery/pf/sound/smashbros_sound.brsar" disc="/sound/smashbros_sound.brsar" />
		<folder external="/minusery/pf/sound/strm" disc="/sound/strm/"/>

	</patch>
	
	<patch id="ocarina">
		<memory offset="0x00001800" value=" " />
		<memory offset="0x00001CDE" value="8057" />
		<memory offset="0x00001CE2" value="0000" />
		<memory offset="0x00001F5A" value="8057" />
		<memory offset="0x00001F5E" value="0000" />
		<memory offset="0x000042B8" value="60000000" />
		<memory offset="0x003E9930" value="60000000" />
		<memory ocarina="true" value="3CA0CC01380000613C80450098058000" offset="0x000018A8" />
	</patch>
</wiidisc>